<!--{if $_G['uid']}-->
<!-- if ($do == 'home' && $home_run) || ($do == 'share' && $home_run) -->
<div class="share_box cl">
	<div class="share_control cl">
    	<div class="button_control z">
            <ul class="button_control_ul">
            	<li><span class="blod xg1">Chia sẻ: </span></li>
            	<li>
                	<a href="javascript:void(0)" id="btn_text" class="active">
                        <div><img src="{IMGDIR}/share.png" />Cảm nghĩ</div>
                        <div class="drop"></div>
                    </a>
                </li>
            	<li>
                	<a href="javascript:void(0)" id="btn_photo">
                        <div><img src="{IMGDIR}/icon_photo.png" />Hình ảnh</div>
                        <div class="drop"></div>
                    </a>
                </li>
                <li>
                	<a href="javascript:void(0)" id="btn_link">
                        <div><img src="{IMGDIR}/icon_link.png" />Liên kết</div>
                        <div class="drop"></div>
                    </a>
                </li>
                <!--{if $_G[uid] == $space[uid]}-->
                <li>
                	<a href="home.php?mod=spacecp&ac=blog" id="btn_blogs">
                        <div><img src="{IMGDIR}/icon_blog.png" />Viết blog</div>
                        <div class="drop"></div>
                    </a>
                </li>
                <!--{/if}-->
            </ul>
        </div>
        <div id="share_waiting" class="y" style="display:none"><img src="{IMGDIR}/loading.gif" alt="loading..." /></div>
    </div>
    <div id="box_share_link" class="share_content">
    	<form id="shareLinkForm" name="shareform" method="post" autocomplete="off" enctype="multipart/form-data" action="home.php?mod=spacecp&op=sform&ac=share&type=flink&handlekey=fshare" onsubmit="on_share_submit();ajaxpost(this.id, 'return_fshare', 'share_waiting', '', 'btn_submit');">
            <div id="extra_share">
            	<div class="txtInputShare text_tip" id="box_tiptext" onclick="switchf('text', true)">Bạn có điều gì muốn chia sẻ với bạn bè...</div>
            </div>
            <div id="button_control_bottom" class="sub_control cl">
                <a href="javascript:void(0);" id="a_frlink" class="bxa_btn a_1" title="Thêm những người bạn có mặt trong ảnh này" style="display:none">&nbsp;</a>
                <button type="submit" id="btn_submit" class="button_notactive y" disabled="disabled"><strong>Đăng</strong></button>
            </div>
            <input type="hidden" name="sharesubmit" value="true" />
            <!--{if $_G[uid] != $space[uid]}-->
            <input type="hidden" name="touserid" id="touserid" value="$space[uid]" />
            <!--{/if}--> 
    	</form>
        <div id="return_fshare"></div>
    </div>
</div>
<!-- /if -->
<!--{/if}-->
<!--{if $home_run && $space['self'] && $do == 'index'}-->
    <!--{if $acitvemessage}-->
    <div class="div_warning">$acitvemessage</div>
    <!--{/if}-->
    
    <!--{if $space[profileprogress] <= 65}-->
    <div class="div_warning">
        <h2><img src="{IMGDIR}/my-profile_32x32.png" align="absmiddle" /> {lang setup_profile_continue}</h2>
        <p class="div_warning_tip">{lang setup_profile_continue_tip}</p>
        <p class="div_warning_btn"><a href="home.php?mod=spacecp" class="pn btn"><img src="{IMGDIR}/my_account.png" align="absmiddle"/> {lang setup_profile_continue}</a></p>
    </div>
    <!--{/if}-->
    <!--{if $_G[member][friendnum] <= 10}-->
    <div class="div_warning">
        <h2><img src="{IMGDIR}/user_finder_32x32.png" align="absmiddle" /> {lang find_more_friend_title}</h2>
        <p class="div_warning_tip">{lang find_more_friend_tip}</p>
        <p class="div_warning_btn"><a href="home.php?mod=spacecp&ac=friend&op=find" class="pn btn"><img align="absmiddle" src="{IMGDIR}/user_finder_16x16.png" /> {lang find_more_friend}</a> <a href="home.php?mod=spacecp&ac=invite" class="pn btn"><img src="{IMGDIR}/invite_add.png" align="absmiddle"/> {lang update_invite_setup}</a></p>
     </div>
    <!--{/if}-->
<!--{/if}-->